package com.pfc.wifiscan;


import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;

public class HelpActivity extends Activity {
	
	String locationName;
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_help);
		this.locationName = getIntent().getStringExtra("location");
	}
	
	@Override
	public void onBackPressed() {
		Intent i = new Intent(this, MainActivity.class);
		i.putExtra("location", this.locationName);
		startActivity(i);
	}	
	
}